<!-- modal template -->
<div class="modal-header">
    <h4 class="modal-title" id="myModalLabel">用户审核</h4>
</div>
<form class="form-horizontal" name="userApproveForm" novalidate="novalidate">
    <div class="modal-body">
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label class="col-md-2 control-label">账号</label>

                    <div class="col-md-4">
                        <input type="text" name="userAccount" class="input-sm form-control" readonly="readonly"
                               ng-model="userApprove.userAccount"/>
                    </div>

                    <label class="col-md-2 control-label">用户名称</label>

                    <div class="col-md-4">
                        <input type="text" name="userName" class="input-sm form-control" readonly="readonly"
                        ng-model="userApprove.userName"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">座机</label>

                    <div class="col-md-4">
                        <input type="text" name="userTelephone" ng-pattern="/^([0-9]+)$/" class="input-sm form-control"
                        readonly="readonly" ng-model="userApprove.userTelephone"/>
                    </div>
                    <label class="col-md-2 control-label">手机</label>

                    <div class="col-md-4">
                        <input type="text" name="userMobile" ng-pattern="/^([0-9]+)$/" class="input-sm form-control"
                         readonly="readonly" ng-model="userApprove.userMobile"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">邮箱</label>

                    <div class="col-md-4">
                        <input type="text" name="email" ng-pattern="" class="input-sm form-control" readonly="readonly"
                               ng-model="userApprove.email"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">授权码过期日期</label>
                    <div class="col-md-4">
 						<input type='text' name="expireDate" class="form-control input-sm"
							date-time ng-model="userApprove.authCodeExpireDate" auto-close="true"
							view="date" min-view="date" format="yyyy-MM-dd" />
					</div>
                    <label class="col-sm-2 control-label">审核状态</label>
                    <div class="col-sm-4">
                        <select class="form-control input-sm" ng-model="userApprove.approveStatus" >
                        	<option ng-repeat="status in approveStatusList" value={{status.id}}>{{ status.name }}</option>
   			            </select>
                    </div>					
                </div>                
                <div class="form-group">
                    <label class="col-md-2 control-label">审核意见</label>

                    <div class="col-md-4">
                        <input type="text" name="approverCommen" ng-pattern="" class="input-sm form-control"
                               ng-model="userApprove.approverComment"/>
                    </div>
                </div>                
            </div>
            
        </div>
    </div>

    <div class="modal-footer">
        <button type="submit" class="btn btn-default" ng-click="cancel()">取消</button>
        <button type="submit" class="btn btn-primary" ng-click="ok()">确认</button>
    </div>
</form>
